package org.study.order.feign.fallback;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.study.order.feign.StockServiceFeign;

import java.util.Map;

/**
 * @author heshaohua
 * @date 2024年08月01日 22:49:00
 */
@Component
public class StockFeignFallBack implements StockServiceFeign {

    @Override
    public Object deduct(Map<String, String> param) {
        System.out.println("库存系统异常");
        return null;
    }
}
